package com.luo.partner.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TabMonthlyKnotTemp implements Serializable {
    private Long id;

    /**
     * 用户id
     *
     * @mbggenerated
     */
    private Long usrsId;

    /**
     * 合伙人Id
     *
     * @mbggenerated
     */
    private Long userId;

    /**
     * 结算的金额
     *
     * @mbggenerated
     */
    private BigDecimal settlementRecharge;

    /**
     * 得到的佣金
     *
     * @mbggenerated
     */
    private BigDecimal commission;

    /**
     * 创建时间
     *
     * @mbggenerated
     */
    private String createTime;
    
    private String account;
    private String tel;
    private String mobile;
    private String username;
    

    public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUsrsId() {
        return usrsId;
    }

    public void setUsrsId(Long usrsId) {
        this.usrsId = usrsId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getSettlementRecharge() {
        return settlementRecharge;
    }

    public void setSettlementRecharge(BigDecimal settlementRecharge) {
        this.settlementRecharge = settlementRecharge;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", usrsId=").append(usrsId);
        sb.append(", userId=").append(userId);
        sb.append(", settlementRecharge=").append(settlementRecharge);
        sb.append(", commission=").append(commission);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TabMonthlyKnotTemp other = (TabMonthlyKnotTemp) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUsrsId() == null ? other.getUsrsId() == null : this.getUsrsId().equals(other.getUsrsId()))
            && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId()))
            && (this.getSettlementRecharge() == null ? other.getSettlementRecharge() == null : this.getSettlementRecharge().equals(other.getSettlementRecharge()))
            && (this.getCommission() == null ? other.getCommission() == null : this.getCommission().equals(other.getCommission()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUsrsId() == null) ? 0 : getUsrsId().hashCode());
        result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode());
        result = prime * result + ((getSettlementRecharge() == null) ? 0 : getSettlementRecharge().hashCode());
        result = prime * result + ((getCommission() == null) ? 0 : getCommission().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        return result;
    }
}